/*
 * @Author: 迩安 14166156+zxp_lzu@user.noreply.gitee.com
 * @Date: 2024-08-08 15:16:40
 * @LastEditors: 迩安 14166156+zxp_lzu@user.noreply.gitee.com
 * @LastEditTime: 2024-08-14 16:34:24
 * @FilePath: \echarts\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import './assets/main.scss';
import { createApp } from 'vue';
import App from '@/App.vue';
import ChartComponent from '@/components/ChartComponent.vue';

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
import router  from '@/router/index.js';
const app = createApp(App);
app.use(router)
// 注册 ChartComponent 为全局组件
app.use(ElementPlus);
app.component('chart-component', ChartComponent);
// 挂载应用到 DOM
app.mount('#app');